package com.guonan.lambda.cart;

public enum CartgoryEnum {
    CLOTHING(10, "服装类"),
    ELECTROCITY(20, "数码类"),
    SPORTS(30, "运动类"),
    BOOKS(40, "图书类");


    private Integer code;

    private String name;

    CartgoryEnum(Integer code, String name) {
        this.code = code;
        this.name = name;
    }

    public Integer getCode() {
        return code;
    }

    public String getName() {
        return name;
    }
}
